package com.pig4cloud.pig.qc.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.qc.entity.LabelEntity;
import com.pig4cloud.pig.qc.mapper.LabelMapper;
import com.pig4cloud.pig.qc.service.LabelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 标签管理
 *
 * @author QC
 * @date 2025-07-25 10:21:57
 */
@Service
public class LabelServiceImpl extends ServiceImpl<LabelMapper, LabelEntity> implements LabelService {
	@Autowired
	private LabelMapper labelMapper;

	public boolean selectLabelName(String labelName) {
		if (labelMapper.selectLabelName(labelName)){
			return true;
		}else {
			return false;
		}
	}


	@Override
	public boolean selectLabelName(String labelName, Long labelId) {
		return false;
	}

	@Override
	public boolean selectColor(String color, Long labelId) {
		return false;
	}
}
